package com.microframework.base.data.config;

import java.util.HashMap;
import java.util.Map;

import com.microframework.base.data.config.base.BaseConnectionConfig;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ExcelConnectionConfig extends BaseConnectionConfig {
    public enum ExcelType {
        XLS, XLSX
    }
    
    private String filePath;
    private ExcelType fileType = ExcelType.XLSX;
    private String sheetName;
    private int sheetIndex = 0;
    private boolean hasHeader = true;
    private Map<Integer, String> columnMappings = new HashMap<>();
}
